package com.example.api.dto;

import java.util.StringJoiner;

/**
 * @author fanhang
 */
public class TiggerDTO {
    private String name;
    private String param;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", TiggerDTO.class.getSimpleName() + "[", "]")
            .add("name='" + name + "'")
            .add("param='" + param + "'")
            .toString();
    }
}
